package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.ChannelBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IChannelMapper extends BaseMapper<ChannelBean> {
    /**
     * 查询所有频道，并查询频道的主贴数
     * @return 频道集合
     */
    public List<ChannelBean> findChannels();
}
